/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapGspApprove.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月18日下午1:51:29
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(GSP认证表)
 * @author lvxc
 * @date 2018年4月18日 下午1:51:29
 */
@Document(indexName = "dm_map_gsp_approve", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapGspApprove implements Serializable{
    
   private static final long serialVersionUID = 1L;
    
    @Id
    private String id;
    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields GMP_GSP_issuing_date : TODO(发证日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String GMP_GSP_issuing_date;
    
    /**
     * @Fields business_address : TODO(经营地址)
     */
    @Field(type = FieldType.keyword)
    private String business_address;
    
    /**
     * @Fields business_scope : TODO(经营范围)
     */
    @Field(type = FieldType.keyword)
    private String business_scope;
    
    /**
     * @Fields certificate_number : TODO(GSP证书编号)
     */
    @Field(type = FieldType.keyword)
    private String certificate_number;
    
    /**
     * @Fields expiry_date : TODO(截止日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String expiry_date;
    
    /**
     * @Fields issuing_agence : TODO(发证机关)
     */
    @Field(type = FieldType.keyword)
    private String issuing_agence;
    
    /**
     * @Fields name : TODO(企业名称)
     */
    @Field(type = FieldType.keyword)
    private String name;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSYS_add_time() {
        return SYS_add_time;
    }

    public void setSYS_add_time(String sYS_add_time) {
        SYS_add_time = sYS_add_time;
    }

    public String getSYS_check_time() {
        return SYS_check_time;
    }

    public void setSYS_check_time(String sYS_check_time) {
        SYS_check_time = sYS_check_time;
    }

    public String getSYS_dm_update_time() {
        return SYS_dm_update_time;
    }

    public void setSYS_dm_update_time(String sYS_dm_update_time) {
        SYS_dm_update_time = sYS_dm_update_time;
    }

    public String getGMP_GSP_issuing_date() {
        return GMP_GSP_issuing_date;
    }

    public void setGMP_GSP_issuing_date(String gMP_GSP_issuing_date) {
        GMP_GSP_issuing_date = gMP_GSP_issuing_date;
    }

    public String getBusiness_address() {
        return business_address;
    }

    public void setBusiness_address(String business_address) {
        this.business_address = business_address;
    }

    public String getBusiness_scope() {
        return business_scope;
    }

    public void setBusiness_scope(String business_scope) {
        this.business_scope = business_scope;
    }

    public String getCertificate_number() {
        return certificate_number;
    }

    public void setCertificate_number(String certificate_number) {
        this.certificate_number = certificate_number;
    }

    public String getExpiry_date() {
        return expiry_date;
    }

    public void setExpiry_date(String expiry_date) {
        this.expiry_date = expiry_date;
    }

    public String getIssuing_agence() {
        return issuing_agence;
    }

    public void setIssuing_agence(String issuing_agence) {
        this.issuing_agence = issuing_agence;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<WeightJson> getWeight_json() {
        return weight_json;
    }

    public void setWeight_json(List<WeightJson> weight_json) {
        this.weight_json = weight_json;
    }
    
}

